package week2;

import java.math.BigInteger;
import java.util.Scanner;

public class Ex13 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str;
        BigInteger bigInteger = new BigInteger("0");
        for (int i = 0; i < 100; ++i){
            str = sc.next();
            BigInteger tep = new BigInteger(str);
            bigInteger = bigInteger.add(tep);
        }
        str = bigInteger.toString().substring(0,10);
        System.out.println(str);
    }
}
